package com.meetingshow.commu.uiservice.model;

import com.meetingshow.common.base.uiservice.model.BaseQueryParasVO;
import com.meetingshow.commu.service.model.QuestionQueryParas;

public class QuestionQueryParasVO extends BaseQueryParasVO {
    /**
     * 
     */
    private static final long serialVersionUID = 854308275757874814L;
    
    private String firstResultNo;
    private String resultsPerGroup;
    private String questionId_e;
    private String fromUserId_e;
    private String toUserId_e;
    private String topicId_e;

    public QuestionQueryParasVO() {
    }

    public QuestionQueryParasVO(QuestionQueryParas questionQueryParas) {
        setFirstresultno(questionQueryParas.getFirstresultno());
        setResultspergroup(questionQueryParas.getResultspergroup());
        setQuestionId_e(questionQueryParas.getQuestionId_e());
        setFromUserId_e(questionQueryParas.getFromUserId_e());
        setToUserId_e(questionQueryParas.getToUserId_e());
        setTopicId_e(questionQueryParas.getTopicId_e());
    }
    
    public QuestionQueryParas toQuestionQueryParas() {
        QuestionQueryParas questionQueryParas = new QuestionQueryParas();
        
        questionQueryParas.setFirstresultno(getFirstresultno());
        questionQueryParas.setResultspergroup(getResultspergroup());
        questionQueryParas.setQuestionId_e(getQuestionId_e());
        questionQueryParas.setFromUserId_e(getFromUserId_e());
        questionQueryParas.setToUserId_e(getToUserId_e());
        questionQueryParas.setTopicId_e(getTopicId_e());
        
        return questionQueryParas;
    }

    @Override
    public String getFirstresultno() {
        return firstResultNo;
    }

    @Override
    public void setFirstresultno(String firstresultno) {
        this.firstResultNo = firstresultno;
    }

    @Override
    public String getResultspergroup() {
        return resultsPerGroup;
    }

    @Override
    public void setResultspergroup(String resultspergroup) {
        this.resultsPerGroup = resultspergroup;
    }

    public String getQuestionId_e() {
        return questionId_e;
    }

    public void setQuestionId_e(String questionId_e) {
        this.questionId_e = questionId_e;
    }

    public String getFromUserId_e() {
        return fromUserId_e;
    }

    public void setFromUserId_e(String fromUserId_e) {
        this.fromUserId_e = fromUserId_e;
    }

    public String getToUserId_e() {
        return toUserId_e;
    }

    public void setToUserId_e(String toUserId_e) {
        this.toUserId_e = toUserId_e;
    }

    public String getTopicId_e() {
        return topicId_e;
    }

    public void setTopicId_e(String topicId_e) {
        this.topicId_e = topicId_e;
    }
}
